package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Saleorder;
import cn.wolfcode.crm.domain.Saleorder;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SaleorderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Saleorder record);

    Saleorder selectByPrimaryKey(Long id);

    List<Saleorder> selectAll();

    int updateByPrimaryKey(Saleorder record);

    int query4count(QueryObject qo);

    List<Saleorder> query4list(QueryObject qo);

    void audit(Saleorder saleorder);

    List<HashMap<String,Object>> selectSaleAnalyzeList();
}